#ifndef GX_ERR_H
#define GX_ERR_H

#define SUCCESS			0
#define NOMEM 			1
#define PARAMETER_ERROR 2
#define NODATA			3
#define SYSTEM_ERROR	4
#define DATA_EXIT		5


void fatal(int code,char *s);
void print_err_msg(int code);

#endif
